package com.sdruixinggroup.mondayb2b.models;

import java.util.List;

/**
 * Created by 00029935 on 2017/12/9.
 */

public class HotSearch {

    /**
     * err_code : 0
     * err_msg : OK
     * timestamp : 1512799254
     * keywords : [{"keywords_id":2,"name":"金克拉"},{"keywords_id":3,"name":"氮磷钾"}]
     */

    private int err_code;
    private String err_msg;
    private int timestamp;
    private List<KeywordsBean> keywords;

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public List<KeywordsBean> getKeywords() {
        return keywords;
    }

    public void setKeywords(List<KeywordsBean> keywords) {
        this.keywords = keywords;
    }

    public static class KeywordsBean {
        /**
         * keywords_id : 2
         * name : 金克拉
         */

        private int keywords_id;
        private String name;

        public int getKeywords_id() {
            return keywords_id;
        }

        public void setKeywords_id(int keywords_id) {
            this.keywords_id = keywords_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
